<!DOCTYPE html>
<html>
<head>
    <title>财富计算器</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=400px, user-scalable=no" />
    <include file="Share:meta" />
    <link rel="stylesheet" href="../Public/css/fortune.css">
    <script type="text/javascript">
	function istel(num) {
		var reNum = /^1[0-9]{2}[0-9]{8}$/;
		return (reNum.test(num));
	}
	function isemail(email) {
		var reNum = /([a-z0-9]*[-_.]?[a-z0-9]+)*@([a-z0-9]*[-_]?[a-z0-9]+)+[.][a-z]{2,3}([.][a-z]{2})?$/;
		return (reNum.test(email));
	}
	function isqq(num){
 		var reNum = /^\d*$/;
		return (reNum.test(num));
	}
	function checkform() {
		if($("input[name=name]").val()=='') {
			$("input[name=name]").focus();
			return false;
		}
		
		if($("input[name=mobile]").val()=='' || !istel($("input[name=mobile]").val())) {
			$("input[name=mobile]").focus();
			return false;
		}
		/*
		if($("input[name=email]").val()=='' || !isemail($("input[name=email]").val())) {
			$("input[name=email]").focus();
			return false;
		}
		*/
		if($("input[name=qq]").val()=='' || !isqq($("input[name=qq]").val())) {
			$("input[name=qq]").focus();
			return false;
		}
		
		
		return true;
		
	}
    </script>

</head>
<body class="bgimg">


<div class="paddinglr15">

    <div class="row">
        <div class="col-xs-12 paddinglr0">
            <img src="../Public/img/fortune/select_06_title.png" style="width:100%">
        </div>
    </div>
    
    <div class="row">
    	<div class="col-xs-1"></div>
        <div class="col-xs-10 paddinglr0 bottomline">
            提交您的联系方式，客服人员会及时与您联系：
        </div>
        <div class="col-xs-1"></div>
    </div>
    
    <div class="row">
    	<div class="col-xs-1"></div>
        <div class="col-xs-10 paddinglr0">
        	<form method="post" action="" onSubmit="return checkform();">
            <div class="hang">
                <span class="ci blue danwei2">姓名：</span><input type="text" class="blueinput2" name="name" value=""/>
            </div>
            <div class="hang">
                <span class="ci blue danwei2">电话：</span><input type="text" class="blueinput2" name="mobile" value=""/>
            </div>
            <div class="hang" style="display:none;">
                <span class="ci blue danwei2">邮箱：</span><input type="text" class="blueinput2" name="email" value=""/>
            </div>
            <div class="hang">
                <span class="ci blue danwei2">QQ：</span><input type="text" class="blueinput2" name="qq" value=""/>
            </div>
            <div class="hang">
                <span class="ci blue danwei2">推荐人：</span><input type="text" class="blueinput2" name="referrer" value=""/>
            </div>
            <div class="hang" style="text-align:center;">
                <input type="submit" class="tijiao2" value="提交"/>
            </div>
            </form>
        </div>
        <div class="col-xs-1"></div>
    </div>
	
    <div class="row tobottom">
    	<div class="col-xs-1"></div>
        <div class="col-xs-10 paddinglr0 topline">
            所有数据都由真实数据计算产生
        </div>
        <div class="col-xs-1"></div>
    </div>
</div>


</body>
</html>